package com.gimi.cloud.jimi.entity.app.moreInfo;

import com.gimi.cloud.jimi.entity.base.BaseTable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 信用信息日志
 * @auther lixj
 * @date 2018/1/19  9:44
 */
@Table(name = "rd_more_info_log")
public class MoreInfoLogEntity extends BaseTable {
    @Id
    private Integer id;
    /**
     *用户id
     */
    @Column(name = "user_id")
    private Integer userId;
    /**
     * 请求参数
     */
    @Column(name = "request_data")
    private String requestData;
    /**
     * 返回参数
     */
    @Column(name = "response_data")
    private String responseData;

    /**
     * 1:芝麻信用,2.淘宝信息,3.工资卡信息,4.信用卡流水,5.信用卡邮箱账单,6.公积金信息,7.社保信息,8支付宝信息
     */
    @Column(name = "type")
    private String type;

    /**
     * 添加时间
     */
    @Column(name = "add_time")
    private Date addTime;

    /**
     *备注
     */
    @Column(name = "remark")
    private String remark;
    /**
     * 抓取状态（1成功，2失败）
     */
    @Column(name = "status")
    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getRequestData() {
        return requestData;
    }

    public void setRequestData(String requestData) {
        this.requestData = requestData;
    }

    public String getResponseData() {
        return responseData;
    }

    public void setResponseData(String responseData) {
        this.responseData = responseData;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
